package com.general.message.notice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 消息路由表
 */
@TableName(value ="msg_notice_route")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoticeRoute  implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 菜单标识
     */
    private String menuKey;

    /**
     * 菜单名
     */
    private String menuName;

    /**
     * web断路由
     */
    private String webRoute;

    /**
     * 移动端路由
     */
    private String mobileRoute;

    /**
     * 操作类型(0:查询，1修改)
     */
    private String action;
}
